<!--{template common/header_simple_start}-->
<link href="static/icheck/skins/minimal/blue.css?{VERHASH}" rel="stylesheet" media="all">
<link href="static/select2/select2.css?{VERHASH}" rel="stylesheet" media="all">
<link href="static/select2/select2-bootstrap.css?{VERHASH}" rel="stylesheet" media="all">
<link href="static/css/common.css?{VERHASH}" rel="stylesheet" media="all">
<link href="static/css/app_manage.css?{VERHASH}" rel="stylesheet" media="all">
<script type="text/javascript" src="static/js/jquery.leftDrager.js?{VERHASH}"></script>
<script type="text/javascript" src="static/js/jquery.textareaexplander.js?{VERHASH}"></script>
<script src="admin/scripts/admin.js?{VERHASH}"></script>
<style>
 #cpform{
	margin-top: 15px;
}
</style>
<!--{template common/header_simple_end}-->
<!--{template common/commer_header}-->
<div class="bs-container clearfix">
  <div class="bs-left-container  clearfix">  
	 <!--{template left}--> 
  </div>
  <div class="left-drager">
    <div class="left-drager-op">
      <div class="left-drager-sub"></div>
    </div>
  </div>
  <div class="bs-main-container  clearfix">  
 	<div class="main-title clearfix">
		<h4 class="main-header-title navbar-left">{lang app_name}</h4> 
	</div>
	
    <div class="main-content">  
    <form id="cpform" action="{MOD_URL}&op=admin" class="form-horizontal" method="post" name="cpform">
		<input type="hidden" value="{FORMHASH}" name="formhash">
		<input type="hidden" name="confirmsubmit" value="true" />
		<dl>
			<dt>{lang input_onlyoffice_url}</dt>
			<dd class="clearfix">
				<input type="text" class="form-control" id="app_key" name="app_key" autocomplete="off" value="{$app[extra][DocumentUrl]}" required="true">
				<span class="help-block">{lang input_onlyoffice_url_notice}</span>
			</dd>
		</dl>
    <dl>
			<dt>{lang input_dzzoffice_url}</dt>
			<dd class="clearfix">
				<input type="text" class="form-control" id="app_key" name="fileurl" autocomplete="off" value="{$app[extra][FileUrl]}">
				<span class="help-block">{lang input_dzzoffice_url_notice}</span>
				<span class="help-block">{lang You can leave it blank, which indicates the address of this website}</span>
			</dd>
		</dl>
		<dl>
			<dt>{lang thumbnail_exts}</dt>
			<dd class="clearfix">
				<textarea type="textarea" class="form-control" cols="3" id="exts" name="exts" autocomplete="off">{$app[extra]['exts']}</textarea>
				<span class="help-block">{lang thumbnail_exts_tips}</span>
			</dd>
		</dl>
    <dl>
			<dt>{lang key}</dt>
			<dd class="clearfix">
				<textarea type="textarea" class="form-control" cols="3" id="exts" name="token" autocomplete="off">{$app[extra]['token']}</textarea>
				<span class="help-block">{lang Leave blank to indicate that no key is required}</span>
			</dd>
		</dl>
    <dl>
			<dt>{lang head}</dt>
			<dd class="clearfix">
            <label class="radio-inline"><input type="radio"  name="toubu" <!--{if $app[extra]['toubu']=='1'}-->checked="checked"<!--{/if}--> value="1">{lang show}</label>
            <label class="radio-inline"> <input type="radio" name="toubu" <!--{if $app[extra]['toubu']=='0'}-->checked="checked"<!--{/if}--> value="0">{lang no_show}</label>
          </dd>
		</dl>
    <dl>
			<dt>过滤器</dt>
			<dd class="clearfix">
        <label class="radio-inline"><input type="radio"  name="modifyFilter" <!--{if $app[extra]['modifyFilter']=='1'}-->checked="checked"<!--{/if}--> value="1">{lang yes}</label>
        <label class="radio-inline"> <input type="radio" name="modifyFilter" <!--{if $app[extra]['modifyFilter']=='0'}-->checked="checked"<!--{/if}--> value="0">{lang no}</label>
				<span class="help-block">是否可以全局应用影响所有其他用户或仅适用于当前用户。如果用户具有编辑权限，则仅对电子表格编辑器可用。无配置默认为开启。当开启时，会影响筛选功能。</span>
      </dd>
		</dl>
    <dl>
			<dt>自动保存</dt>
			<dd class="clearfix">
        <label class="radio-inline"><input type="radio"  name="autosave" <!--{if $app[extra]['autosave']=='1'}-->checked="checked"<!--{/if}--> value="1">开启</label>
        <label class="radio-inline"> <input type="radio" name="autosave" <!--{if $app[extra]['autosave']=='0'}-->checked="checked"<!--{/if}--> value="0">关闭</label>
				<span class="help-block">无配置默认为关闭。</span>
      </dd>
		</dl>
    <dl>
			<dt>聊天</dt>
			<dd class="clearfix">
        <label class="radio-inline"><input type="radio"  name="chat" <!--{if $app[extra]['chat']=='1'}-->checked="checked"<!--{/if}--> value="1">开启</label>
        <label class="radio-inline"> <input type="radio" name="chat" <!--{if $app[extra]['chat']=='0'}-->checked="checked"<!--{/if}--> value="0">关闭</label>
				<span class="help-block">是否开启聊天功能，无配置默认为开启。</span>
      </dd>
		</dl>
    <dl>
			<dt>菜单栏</dt>
			<dd class="clearfix">
        <label class="radio-inline"><input type="radio"  name="compactHeader" <!--{if $app[extra]['compactHeader']=='1'}-->checked="checked"<!--{/if}--> value="1">{lang yes}</label>
        <label class="radio-inline"> <input type="radio" name="compactHeader" <!--{if $app[extra]['compactHeader']=='0'}-->checked="checked"<!--{/if}--> value="0">{lang no}</label>
				<span class="help-block">是否将菜单栏放在在徽标旁边使界面更加紧凑。无配置默认为否。</span>
      </dd>
		</dl>
    <dl>
			<dt>顶部工具栏</dt>
			<dd class="clearfix">
        <label class="radio-inline"><input type="radio"  name="compactToolbar" <!--{if $app[extra]['compactToolbar']=='1'}-->checked="checked"<!--{/if}--> value="1">紧凑</label>
        <label class="radio-inline"> <input type="radio" name="compactToolbar" <!--{if $app[extra]['compactToolbar']=='0'}-->checked="checked"<!--{/if}--> value="0">展开</label>
				<span class="help-block">展开还是紧凑顶部工具栏。展开后多余菜单将在右侧折叠点击显示。无配置默认为紧凑。</span>
      </dd>
		</dl>
    <dl>
			<dt>注释/批注菜单</dt>
			<dd class="clearfix">
        <label class="radio-inline"><input type="radio"  name="comments" <!--{if $app[extra]['comments']=='1'}-->checked="checked"<!--{/if}--> value="1">显示</label>
        <label class="radio-inline"> <input type="radio" name="comments" <!--{if $app[extra]['comments']=='0'}-->checked="checked"<!--{/if}--> value="0">隐藏</label>
				<span class="help-block">显示还是隐藏“注释”菜单按钮；请注意，如果您隐藏“评论”按钮，则相应的评论功能将仅可用于查看，评论的添加和编辑将不可用。无配置默认为隐藏。</span>
      </dd>
		</dl>
    <dl>
			<dt>宏设置</dt>
			<dd class="clearfix">
        <label class="radio-inline"><input type="radio"  name="macros" <!--{if $app[extra]['macros']=='1'}-->checked="checked"<!--{/if}--> value="1">{lang yes}</label>
        <label class="radio-inline"> <input type="radio" name="macros" <!--{if $app[extra]['macros']=='0'}-->checked="checked"<!--{/if}--> value="0">{lang no}</label>
				<span class="help-block">是否可以运行文档宏以及可用的宏设置。无配置默认为否。</span>
      </dd>
		</dl>
    <dl>
			<dt>运行文档宏</dt>
			<dd class="clearfix">
        <label class="radio-inline"><input type="radio"  name="macrosMode" <!--{if $app[extra]['macrosMode']=='1'}-->checked="checked"<!--{/if}--> value="1">根本不运行</label>
        <label class="radio-inline"> <input type="radio" name="macrosMode" <!--{if $app[extra]['macrosMode']=='2'}-->checked="checked"<!--{/if}--> value="2">自动运行所有宏</label>
				<label class="radio-inline"> <input type="radio" name="macrosMode" <!--{if $app[extra]['macrosMode']=='0'}-->checked="checked"<!--{/if}--> value="0">警告宏并请求允许运行</label>
				<span class="help-block">是否将运行文档宏。无配置默认为警告宏并请求允许运行。</span>
      </dd>
		</dl>
    <dl>
			<dt>插件</dt>
			<dd class="clearfix">
        <label class="radio-inline"><input type="radio"  name="plugins" <!--{if $app[extra]['plugins']=='1'}-->checked="checked"<!--{/if}--> value="1">启用</label>
        <label class="radio-inline"> <input type="radio" name="plugins" <!--{if $app[extra]['plugins']=='0'}-->checked="checked"<!--{/if}--> value="0">关闭</label>
				<span class="help-block">是否将启动插件并可用。无配置默认为关闭。</span>
      </dd>
		</dl>
    <dl>
			<dt>工具栏选项卡样式</dt>
			<dd class="clearfix">
        <label class="radio-inline"><input type="radio"  name="toolbarNoTabs" <!--{if $app[extra]['toolbarNoTabs']=='1'}-->checked="checked"<!--{/if}--> value="1">{lang yes}</label>
        <label class="radio-inline"> <input type="radio" name="toolbarNoTabs" <!--{if $app[extra]['toolbarNoTabs']=='0'}-->checked="checked"<!--{/if}--> value="0">{lang no}</label>
				<span class="help-block">是否突出显示顶部工具栏选项卡样式。无配置默认为否。</span>
      </dd>
		</dl>
		<dl>
			<input class="btn btn-primary" id="submit_editsubmit" name="settingsubmit" value="{lang submit}" type="submit">
		</dl>
		
    </form> 
  </div>
</div>
</div>
<script type="text/javascript">
	jQuery('.left-drager').leftDrager_layout();
	jQuery(document).ready(function(e) {
		jQuery('input[required]').on('blur', function() {
			if(this.value == '') { jQuery(this).addClass('input-error') } else { jQuery(this).removeClass('input-error'); }
		});
	}); 
</script> 
<script src="static/bootstrap/js/bootstrap.min.js?{VERHASH}"></script> 
<!--{template common/footer_simple}-->